// vite.config.ts
import { defineConfig } from "file:///Users/symbols/Documents/work/casino/h5/node_modules/vite/dist/node/index.js";
import vue from "file:///Users/symbols/Documents/work/casino/h5/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import vueJsx from "file:///Users/symbols/Documents/work/casino/h5/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import { join } from "path";
import legacy from "file:///Users/symbols/Documents/work/casino/h5/node_modules/@vitejs/plugin-legacy/dist/index.mjs";
import vueSetupExtend from "file:///Users/symbols/Documents/work/casino/h5/node_modules/vite-plugin-vue-setup-extend/dist/index.mjs";
var __vite_injected_original_dirname = "/Users/symbols/Documents/work/casino/h5";
var vite_config_default = defineConfig({
  plugins: [vueSetupExtend(), legacy({ targets: ["defaults", "Chrome 62"] }), vueJsx(), vue()],
  build: {
    target: ["es2015", "chrome63"]
  },
  base: "/office",
  server: {
    // host: 'localhost',  // 启动后浏览器窗口输入地址就可以进行访问
    // host: '192.168.30.73',
    // port: 8080,
    cors: true,
    proxy: {
      // 将请求代理到另一个服务器
      // '/user': {
      //     target: 'https://imapitest.transi.io:9999/',//这是你要跨域请求的地址前缀
      //     changeOrigin: true,//开启跨域
      //     rewrite: path => path.replace(/^\/user/, ''),//去除前缀api
      // }
    }
    // Load proxy configuration from .env.development
  },
  resolve: {
    alias: {
      "@": join(__vite_injected_original_dirname, "src"),
      "vue-i18n": "vue-i18n/dist/vue-i18n.cjs.js"
    }
  }
  // optimizeDeps: {
  //     esbuildOptions: {
  //         define: {
  //             global: "globalThis",
  //         },
  //         plugins: [
  //             NodeGlobalsPolyfillPlugin({
  //                 process: true,
  //                 buffer: true,
  //             }),
  //             NodeModulesPolyfillPlugin()
  //         ],
  //     }
  // }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3R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